package com.mingqijia.gassafety.webserver.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-02-23
 */

@Data
@ApiModel("客户详情")
public class ConsumerDetailResponse {

    @ApiModelProperty(value = "基本信息")
    private ConsumerResponse consumerResponse;

    @ApiModelProperty(value = "联系人信息")
    private List<ContactsResponse> contactsResponseList;

    @ApiModelProperty(value = "设备信息")
    private List<ConsumerEquipmentResponse> consumerEquipmentResponseList;

    @ApiModelProperty(value = "客户端绑定状态  1:绑定, 0未绑定")
    private Integer clientBindStatus;

    @ApiModelProperty(value = "上报时间")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone = "GMT+8")
    private Date lastTime;


}
